
<div class="page-crumb">
	<div class="ui-ctrl ui-crumb"><span class="ui-crumb-node ui-crumb-node-first ui-crumb-node-last">订单修改</span></div>
</div>

<div class="layui-main">
	<form class="layui-form" action="" onsubmit="return false">
	<input type="text" hidden name="change" value="edit">
	<input type="text" hidden name="oid" value="{$list.id}">

		<div class="layui-form-item">
			<label class="layui-form-label">名称：</label>
			<div class="layui-input-inline">
				<input type="text" name="order_name" value="{$list.order_name}" lay-verify="name" autocomplete="off" placeholder="请输入订单名称" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入100个字符</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">售卖方式：</label>
			<div class="layui-input-block">
				<input type="radio" name="sale_mode" lay-filter="charge" value="1" <eq name="list['sale_mode']" value='1' >checked="checked"</eq> data-state="" title="直投">
				<input type="radio" name="sale_mode" lay-filter="charge" value="2" <eq name="list['sale_mode']" value='2' >checked="checked"</eq>data-state="" title="竞价">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">开始时间：</label>
			<div class="layui-inline">
				<input class="layui-input" name="startTime" value="{$list.start_time|date='Y-m-d H:i:s', ###}" placeholder="请选择开始时间" onclick="layui.laydate({elem: this, istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">结束时间：</label>
			<div class="layui-inline">
				<input class="layui-input" name="endTime" value="{$list.end_time|date='Y-m-d H:i:s', ###}" placeholder="请选择结束时间" onclick="layui.laydate({elem: this, istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">预算金额：</label>
			<div class="layui-input-inline">
				<input type="text" name="amount" lay-verify="amount" autocomplete="off" placeholder="请输入预算金额" class="layui-input" value="{$list.amount}">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入100个字符</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">广告客户：</label>
			<div class="layui-input-inline">
				<select name="cid" lay-filter="">
					<option value="">请选择...</option>
					<foreach name="customer" item="vo" key="k">
						<option value="{$vo.id}" <if condition="$list['cid'] eq $vo['id']"> selected="selected" </if>>{$vo.name}</option>
					</foreach>

				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">合同号：</label>
			<div class="layui-input-inline">
				<input type="text" name="contract_number" value="{$list.contract_number}" lay-verify="name" autocomplete="off" placeholder="请输入合同号" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入128个字符</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">销售人员：</label>
			<div class="layui-input-inline">
				<input type="text" name="sale_people" value="{$list.sale_people}" lay-verify="tag" autocomplete="off" placeholder="" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">投放人员：</label>
			<div class="layui-input-inline">
				<input type="text" name="delivery_people" value="{$list.delivery_people}" lay-verify="tag" autocomplete="off" placeholder="" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<textarea name="remark" placeholder="请输入备注内容" class="layui-textarea">{$list.remark}</textarea>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="submit">　　保存　　</button>
				<button class="layui-btn layui-btn-primary close-btn" onclick="PopModel.closeFrame();">取消</button>
			</div>
		</div>

	</form>
	
</div>
<script src="__BACKEND_STATIC__/js/AdOrder/add.js"></script>
